function [hx, hy] = create_hires_line ( spx, spy, N)
% CREATE_HIRES_LINE:  Given a spline for both x and y, create a high resolution line.
%
% USAGE:  [hx, hy] = create_hires_line ( spx, spy );
%
% PARAMETERS:
% Input:
%     spx, spy:  
%         Spline structures created with the "spline" matlab function.
%     N:
%         Number of points in high resolution line.  Optional, if not 
%         given, set to 200.
% Output:
%     hx, hy:
%         X and y coordinates of high resolution line.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% $Name: rslice-0_9_2 $
% $Id: create_hires_line.m,v 1.2 2005/06/23 18:59:15 jevans Exp $
% AUTHOR:  johnevans@acm.org
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



if nargin < 3
	N = 200;
end

t = linspace ( 0, 1, N );
t = t(:);
	
hx = ppval ( spx, t );
hy = ppval ( spy, t );

return
